package com.nsl.my_youlai.bbu2.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.nsl.my_youlai.common.base.IBaseEnum;
import com.nsl.my_youlai.mystar.enums.EnumTypeEnum;
import com.nsl.my_youlai.mystar.enums.NslEnumBaseI;

public enum ApparatusRoomOwnershipEnum implements NslEnumBaseI<Integer> {

    // L900\L1800\L2100\NR900\NR2100\NR3500\LN900\LN2100
    UNICOM(1,"自有"),
//    TELECOM(2,"电信"),
    TOWER(1,"铁塔"),
//    MOBILE(2,"移动"),

    NEUTRAL(4,"第三方"),
//    OTHER(5,"其他"),
    ;



    @Override
    public Integer getValue() {
        return id;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public EnumTypeEnum getEnumType() {
        return EnumTypeEnum.BBU_APPARATUS_ROOM_OWNERSHIP_TYPE_ENUM;
    }


    public String getName() {
        return "机房产权";
    }


    @EnumValue//标记数据库记录的值是code
    private Integer id;
    private String label;

    ApparatusRoomOwnershipEnum(Integer id, String label){
        this.id=id;
        this.label=label;
    }
}
